2025-09-24 Proof by Induction

General Induction over odd/even numbers

Let PP be a property of even nums Let QQ be a property of odd nums

PP/QQ will hold for all even/odd nums if:

  • P(zero)P(zero)
  • Whenever nn is even and P(n)P(n) we have Q(succ n)Q(succ\ n)
  • Whenever nn is odd and Q(n)Q(n) we have P(succ n)P(succ\ n)

Recipe for Proof by Induction

  1. Decide who to induct on
    • You must induct on a premise
    • If you’re not sure which to pick, pick the most interesting, as that’s where things are more likely to happen
  2. State you’re doing a proof by induction, and on which premise
  3. Complete your proof by cases
    • One case per rule
    • In your cases you can assume the other premises
    • Write down your induction hypothesis (IH)

Example

Claim

%%🖋 Edit in Excalidraw%%

Example Two

%%🖋 Edit in Excalidraw%%

Related Reading